package org.xhy.hrm.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.xhy.hrm.domain.LoginUser;
import org.xhy.hrm.util.AjaxResult;

@RequestMapping("/loginUser")
@FeignClient(value = "HRM-AUTH",fallbackFactory = LoginUserClientFallbackFactory.class)
public interface LoginUserClient {

    @PutMapping
    AjaxResult addOrUpdate(@RequestBody LoginUser loginUser);
}
